Method and system for identity provider instance discovery

ABSTRACT

An identity provider service comprises a plurality of identity provider instances, with at least one identity provider instance being remote from at least one other identity provider instance. A method of discovering an identity provider instance according to this disclosure begins upon receipt from a service provider (or from a discovery service to which the service provider redirects the user) of a request for an IdP instance. Preferably, the request for an IdP instance is received as a Web services request following receipt at the service provider of an end user client request to access an application. In response to receiving the request, an IdP instance is selected, preferably using one or more criteria, such as user proximity, instance load, instance availability, the existence of a prior IdP binding, or the like. Following the selection, a response to the request is generated and returned to the requesting service provider. Preferably, the response is a redirect to the selected IdP instance.

BACKGROUND OF THE INVENTION

1. Technical Field

This disclosure relates generally to management of computing resources in a federated environment.

2. Background of the Related Art

Federated environments are well known in the art. A federation is a set of distinct entities, such as enterprises, organizations, institutions, or the like, that cooperate to provide a single-sign-on, ease-of-use experience to a user. A federated environment differs from a typical single-sign-on environment in that two enterprises need not have a direct, pre-established, relationship defining how and what information to transfer about a user. Within a federated environment, entities provide services that deal with authenticating users, accepting authentication assertions (e.g., authentication tokens) that are presented by other entities, and providing some form of translation of the identity of the vouched-for user into one that is understood within the local entity. Federation eases the administrative burden on service providers. A service provider (SP) can rely on its trust relationships with respect to the federation as a whole; the service provider does not need to manage authentication information, such as user password information, because it can rely on authentication that is accomplished by a user's authentication home domain, which is the domain at which the user authenticates.

In particular, a federated entity may act as a user's home domain that provides identity information and attribute information about federated users. An entity within a federated computing environment that provides identity information, identity or authentication assertions, or identity services, is termed an identity provider (IdP). Other entities or federation partners within the same federation may rely on an identity provider for primary management of a user's authentication credentials, e.g., accepting a single-sign-on token that is provided by the user's identity provider. An identity provider is a specific type of service that provides identity information as a service to other entities within a federated computing environment. With respect to most federated transactions, an issuing party for an authentication assertion would usually be an identity provider. Any other entity that provides a service within the federated computing environment can be categorized as a service provider. Once a user has authenticated to the identity provider, other entities or enterprises in the federation may be regarded as merely service providers for the duration of a given federated session or a given federated transaction.

Federated single sign-on (F-SSO) allows for user to interact directly with a service provider (SP) and leverage a secure trust relationship between the SP and an IdP for the purpose of receiving identity information in the context of authentication.

The typical model for identity provider discovery is a service that interacts directly with an end user. This approach is useful is a wide variety of scenarios, e.g., to allow the end user to choose from a list of available identity providers, or to facilitate attribute consent. Known discovery service implementations operate in a standalone manner, or by being embedded directly into a service provider. At a high level, one typical discovery model works as follows. The end user accesses an application (the SP) and then manually chooses an identity provider. The service provider then redirects the end user to the chosen identity provider. The end user authenticates to the identity provider, which (following authentication) then redirects the end user (typically through an HTTP-based redirect) back to the application. The IdP also provides the SP an identity assertion, such as a Security Assertion Markup Language (SAML) assertion, or a token, that provide evidence that the federated user has been authenticated. An end user session is then established between the federated user and the SP to complete the process.

Another typical discovery approach is for the SP to redirect the user to another service, which then interacts with the user to choose the IdP. That service then redirects the user to the IdP for authentication, and then the user is redirected back to the SP.

While the above-described workflows are appropriate for scenarios where a user has the ability to make a selection of different identity providers, in an intra-enterprise model there may be a just a single (logical) IdP service that has multiple IdP instances (points of presence) for scalability, availability or performance reasons. Thus, for example, a single identity provider may have identity provider instances in Tokyo, Bangalore, London or New York (each perhaps with a different hostname), with each instance theoretically being equally useful for carrying out the authentication function. The concept of identity provider discovery in this context is different from that described above (where the identity provider itself is selecting from among many such providers), because in the latter context a user does not know (and should not necessarily influence) the decision about which IdP instance is used.

It would be desirable to provide a technique to provide IdP instance-based discovery, and to automatically bind a user to a selected IdP instance.

BRIEF SUMMARY

This disclosure describes a technique for automated discovery of, and binding to, a particular identity provider instance of a set of identity provider instances. Preferably, the selection of a particular identity provider is based on one or more criteria, such as user proximity (network or geographic), IdP instance load or availability, IdP instance capabilities, a performance metric associated with a particular instance, an existing IdP binding, or some combination.

In one embodiment, an identity provider service comprises a plurality of identity provider instances, with at least one identity provider instance being remote from at least one other identity provider instance. A method of discovering an identity provider instance according to this disclosure begins upon receipt from a service provider (or from a discovery service to which the SP redirects the user) of a request for an IdP instance. Preferably, the request for an IdP instance is received as a Web services request following receipt at the service provider of an end user client request to access an application. In response to receiving the request, an IdP instance is selected, preferably using one or more criteria, such as user proximity, instance load, instance availability, the existence of a prior IdP binding, a given characteristic of the F-SSO protocol being used, or the like. Following the selection, a response to the request is generated and returned to the requesting service provider. Preferably, the response is a redirect to the selected IdP instance.

The above-described discovery method to select an IdP instance (among many such instances) may be implemented by an identity provider instance discovery service (referred to as an “IdPIDS”). Once the requesting service provider receives the response from the IdPIDS, the service provider redirects the user to the chosen IdP instance. The user then authenticates to the IdP, after which the IdP redirects the user back to the service provider to facilitate the establishment of the user session. Preferably, the IdPIDS is not tied to any specific F-SSO protocol, and it may support redirection to an IdP instance for whatever F-SSO protocol is needed for the particular SP.

The IdPIDS may operate as a standalone service accessible in an automated way via a Web services request from a service provider, or it may operate as a back-end to a traditional dialog-based discovery mechanism that is used to select an identity provider (from among several different such providers) in the first instance. In the latter case, an end user first selects an identity provider, and then the IdPIDS is used to select which IdP instance (associated with that selected IdP) will be used.

The plurality of identity provider instances that comprise the IdP may include at least one cluster of identity provider instances that are co-located with one another. Preferably, the plurality of identity provider instances includes at least first and second clusters of identity provider instances, with the first cluster being located remote from the second cluster. When instance clusters are used in the manner, preferably the “states” of all identity provider instances within a particular cluster are synchronized to one another so that any one instance within a cluster can be used to respond to an IdP authentication request (once the discovery service has directed the federated user to the cluster).

In an alternative embodiment, the above-described discovery method is performed in an apparatus comprising a processor, and computer memory holding computer program instructions that when executed by the processor perform the method.

In another alternative embodiment, the above-described discovery method is performed by a computer program product in a computer readable medium for use in a data processing system. The computer program product holds computer program instructions which, when executed by the data processing system, perform the method.

The foregoing has outlined some of the more pertinent features of the invention. These features should be construed to be merely illustrative. Many other beneficial results can be attained by applying the disclosed invention in a different manner or by modifying the invention as will be described.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:

FIG. 1 depicts an exemplary block diagram of a distributed data processing environment in which exemplary aspects of the illustrative embodiments may be implemented;

FIG. 2 is an exemplary block diagram of a data processing system in which exemplary aspects of the illustrative embodiments may be implemented;

FIG. 3 illustrates a block diagram that illustrates the integration of data processing systems at a given domain with federated architecture components that may be used to support an embodiment of the described subject matter;

FIG. 4 depicts abstraction model layers of a cloud compute environment in which an identity provider discovery process may be implemented according to an embodiment of the invention;

FIG. 5 illustrates a general technique for enabling discovery of an identity provider;

FIG. 6 illustrates a known load balancing DNS-based mechanism for binding or routing an end user to a particular IdP instance;

FIG. 7 illustrates an intra-enterprise IdP instance discovery service (IdPIDS) of this disclosure;

FIG. 8 illustrates the interactions among the SP, IdPIDS and IdP components in the embodiment of FIG. 7;

FIG. 9 illustrates identity provider backend discovery for federated application using a clustered IdPIDS configuration according to another embodiment of this disclosure;

FIG. 10 illustrates a more detailed view of the components in one of the IdPIDS configuration clusters of FIG. 9;

FIG. 11 illustrates how an IdPIDS instance performs IdP selection according to an embodiment;

FIG. 12 illustrates state management via database replication to facilitate state synchronization among IdPIDS instances; and

FIG. 13 illustrates IdP instance discovery with an external IdP discovery service.

DETAILED DESCRIPTION OF AN ILLUSTRATIVE EMBODIMENT

With reference now to the drawings and in particular with reference to FIGS. 1-2, exemplary diagrams of data processing environments are provided in which illustrative embodiments of the disclosure may be implemented. It should be appreciated that FIGS. 1-2 are only exemplary and are not intended to assert or imply any limitation with regard to the environments in which aspects or embodiments of the disclosed subject matter may be implemented. Many modifications to the depicted environments may be made without departing from the spirit and scope of the present invention.

The Client-Server Model

With reference now to the drawings, FIG. 1 depicts a pictorial representation of an exemplary distributed data processing system in which aspects of the illustrative embodiments may be implemented. Distributed data processing system 100 may include a network of computers in which aspects of the illustrative embodiments may be implemented. The distributed data processing system 100 contains at least one network 102, which is the medium used to provide communication links between various devices and computers connected together within distributed data processing system 100. The network 102 may include connections, such as wire, wireless communication links, or fiber optic cables.

In the depicted example, server 104 and server 106 are connected to network 102 along with storage unit 108. In addition, clients 110, 112, and 114 are also connected to network 102. These clients 110, 112, and 114 may be, for example, personal computers, network computers, or the like. In the depicted example, server 104 provides data, such as boot files, operating system images, and applications to clients 110, 112, and 114. Clients 110, 112, and 114 are clients to server 104 in the depicted example. Distributed data processing system 100 may include additional servers, clients, and other devices not shown.

In the depicted example, distributed data processing system 100 is the Internet with network 102 representing a worldwide collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol (TCP/IP) suite of protocols to communicate with one another. At the heart of the Internet is a backbone of high-speed data communication lines between major nodes or host computers, consisting of thousands of commercial, governmental, educational and other computer systems that route data and messages. Of course, the distributed data processing system 100 may also be implemented to include a number of different types of networks, such as for example, an intranet, a local area network (LAN), a wide area network (WAN), or the like. As stated above, FIG. 1 is intended as an example, not as an architectural limitation for different embodiments of the disclosed subject matter, and therefore, the particular elements shown in FIG. 1 should not be considered limiting with regard to the environments in which the illustrative embodiments of the present invention may be implemented.

With reference now to FIG. 2, a block diagram of a data processing system is shown in which illustrative embodiments may be implemented. Data processing system 200 is an example of a computer, such as server 104 or client 110 in FIG. 1, in which computer-usable program code or instructions implementing the processes may be located for the illustrative embodiments. In this illustrative example, data processing system 200 includes communications fabric 202, which provides communications between processor unit 204, memory 206, persistent storage 208, communications unit 210, input/output (I/O) unit 212, and display 214.

Processor unit 204 serves to execute instructions for software that may be loaded into memory 206. Processor unit 204 may be a set of one or more processors or may be a multi-processor core, depending on the particular implementation. Further, processor unit 204 may be implemented using one or more heterogeneous processor systems in which a main processor is present with secondary processors on a single chip. As another illustrative example, processor unit 204 may be a symmetric multi-processor system containing multiple processors of the same type.

Memory 206 and persistent storage 208 are examples of storage devices. A storage device is any piece of hardware that is capable of storing information either on a temporary basis and/or a permanent basis. Memory 206, in these examples, may be, for example, a random access memory or any other suitable volatile or non-volatile storage device. Persistent storage 208 may take various forms depending on the particular implementation. For example, persistent storage 208 may contain one or more components or devices. For example, persistent storage 208 may be a hard drive, a flash memory, a rewritable optical disk, a rewritable magnetic tape, or some combination of the above. The media used by persistent storage 208 also may be removable. For example, a removable hard drive may be used for persistent storage 208.

Communications unit 210, in these examples, provides for communications with other data processing systems or devices. In these examples, communications unit 210 is a network interface card. Communications unit 210 may provide communications through the use of either or both physical and wireless communications links.

Input/output unit 212 allows for input and output of data with other devices that may be connected to data processing system 200. For example, input/output unit 212 may provide a connection for user input through a keyboard and mouse. Further, input/output unit 212 may send output to a printer. Display 214 provides a mechanism to display information to a user.

Instructions for the operating system and applications or programs are located on persistent storage 208. These instructions may be loaded into memory 206 for execution by processor unit 204. The processes of the different embodiments may be performed by processor unit 204 using computer implemented instructions, which may be located in a memory, such as memory 206. These instructions are referred to as program code, computer-usable program code, or computer-readable program code that may be read and executed by a processor in processor unit 204. The program code in the different embodiments may be embodied on different physical or tangible computer-readable media, such as memory 206 or persistent storage 208.

Program code 216 is located in a functional form on computer-readable media 218 that is selectively removable and may be loaded onto or transferred to data processing system 200 for execution by processor unit 204. Program code 216 and computer-readable media 218 form computer program product 220 in these examples. In one example, computer-readable media 218 may be in a tangible form, such as, for example, an optical or magnetic disc that is inserted or placed into a drive or other device that is part of persistent storage 208 for transfer onto a storage device, such as a hard drive that is part of persistent storage 208. In a tangible form, computer-readable media 218 also may take the form of a persistent storage, such as a hard drive, a thumb drive, or a flash memory that is connected to data processing system 200. The tangible form of computer-readable media 218 is also referred to as computer-recordable storage media. In some instances, computer-recordable media 218 may not be removable.

Alternatively, program code 216 may be transferred to data processing system 200 from computer-readable media 218 through a communications link to communications unit 210 and/or through a connection to input/output unit 212. The communications link and/or the connection may be physical or wireless in the illustrative examples. The computer-readable media also may take the form of non-tangible media, such as communications links or wireless transmissions containing the program code. The different components illustrated for data processing system 200 are not meant to provide architectural limitations to the manner in which different embodiments may be implemented. The different illustrative embodiments may be implemented in a data processing system including components in addition to or in place of those illustrated for data processing system 200. Other components shown in FIG. 2 can be varied from the illustrative examples shown. As one example, a storage device in data processing system 200 is any hardware apparatus that may store data. Memory 206, persistent storage 208, and computer-readable media 218 are examples of storage devices in a tangible form.

In another example, a bus system may be used to implement communications fabric 202 and may be comprised of one or more buses, such as a system bus or an input/output bus. Of course, the bus system may be implemented using any suitable type of architecture that provides for a transfer of data between different components or devices attached to the bus system. Additionally, a communications unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter. Further, a memory may be, for example, memory 206 or a cache such as found in an interface and memory controller hub that may be present in communications fabric 202.

Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object-oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).

Those of ordinary skill in the art will appreciate that the hardware in FIGS. 1-2 may vary depending on the implementation. Other internal hardware or peripheral devices, such as flash memory, equivalent non-volatile memory, or optical disk drives and the like, may be used in addition to or in place of the hardware depicted in FIGS. 1-2. Also, the processes of the illustrative embodiments may be applied to a multiprocessor data processing system, other than the SMP system mentioned previously, without departing from the spirit and scope of the disclosed subject matter.

As will be seen, the techniques described herein may operate in conjunction within the standard client-server paradigm such as illustrated in FIG. 1 in which client machines communicate with an Internet-accessible Web-based portal executing on a set of one or more machines. End users operate Internet-connectable devices (e.g., desktop computers, notebook computers, Internet-enabled mobile devices, or the like) that are capable of accessing and interacting with the portal. Typically, each client or server machine is a data processing system such as illustrated in FIG. 2 comprising hardware and software, and these entities communicate with one another over a network, such as the Internet, an intranet, an extranet, a private network, or any other communications medium or link. A data processing system typically includes one or more processors, an operating system, one or more applications, and one or more utilities. The applications on the data processing system provide native support for Web services including, without limitation, support for HTTP, SOAP, XML, WSDL, UDDI, and WSFL, among others. Information regarding SOAP, WSDL, UDDI and WSFL is available from the World Wide Web Consortium (W3C), which is responsible for developing and maintaining these standards; further information regarding HTTP and XML is available from Internet Engineering Task Force (IETF). Familiarity with these standards is presumed.

The Federation Model

As described above, in one embodiment herein the identity provider instance discovery is implemented within the context of a “federated” environment. Thus, the following background is provided. In general, an enterprise has its own user registry and maintains relationships with its own set of users. Each enterprise typically has its own means of authenticating these users. However, in a federated scheme, enterprises cooperate in a collective manner such that users in one enterprise can leverage relationships with a set of enterprises through an enterprise's participation in a federation of enterprises. Users can be granted access to resources at any of the federated enterprises as if they had a direct relationship with each enterprise. Users are not required to register at each business of interest, and users are not constantly required to identify and authenticate themselves. Hence, within this federated environment, an authentication scheme allows for a single-sign-on experience within the rapidly evolving heterogeneous environments in information technology.

As is well-known, a federation is a set of distinct entities, such as enterprises, logical units within an enterprise, organizations, institutions, etc., that cooperate to provide a single-sign-on, ease-of-use experience to a user; a federated environment differs from a typical single-sign-on environment in that two enterprises need not have a direct, pre-established, relationship defining how and what information to transfer about a user. Within a federated environment, entities provide services which deal with authenticating users, accepting authentication assertions (e.g., authentication tokens) that are presented by other entities, and providing some form of translation of the identity of the vouched-for user into one that is understood within the local entity.

Federation eases the administrative burden on service providers. A service provider can rely on its trust relationships with respect to the federation as a whole; the service provider does not need to manage authentication information, such as user password information, because it can rely on authentication that is accomplished by a user's authentication home domain or an identity provider. A federated environment allows a user to authenticate at a first entity, which may act as an issuing party to issue an authentication assertion about the user for use at a second entity. The user can then access protected resources at a second, distinct entity, termed the relying party, by presenting the authentication assertion that was issued by the first entity without having to explicitly re-authenticate at the second entity. Information that is passed from an issuing party to a relying party is in the form of an assertion, and this assertion may contain different types of information in the form of statements. For example, an assertion may be a statement about the authenticated identity of a user, or it may be a statement about user attribute information that is associated with a particular user. Furthermore, this information can be used by a relying party to provide access to the relying party's resources, based on the relying party's access control rules, identity mapping rules, and possibly some user attributes that are maintained by the relying party.

An identity provider (IdP) is a specific type of service that provides identity information as a service to other entities within a federated computing environment. With respect to most federated transactions, an issuing party for an authentication assertion would usually be an identity provider; any other entity can be distinguished from the identity provider. Any other entity that provides a service within the federated computing environment can be categorized as a service provider. Once a user has authenticated to the identity provider, other entities or enterprises in the federation may be regarded as merely service providers for the duration of a given federated session or a given federated transaction.

Although it may be possible that there could be multiple enterprises within a federated environment that may act as identity providers, e.g., because there may be multiple enterprises that have the ability to generate and validate a user's authentication credentials, etc., a federated transaction usually involves only a single identity provider. If there is only a single federated entity that is able to authenticate a user, e.g., because there is one and only one entity within the federation with which the user has performed a federated enrollment or registration operation, then it would be expected that this entity would act as the user's identity provider in order to support the user's transactions throughout the federated environment.

With reference now to FIG. 3, a block diagram depicts the integration of pre-existing data processing systems at a given domain with some federated architecture components that may be used to support an identity provider. A federated environment includes federated entities that provide a variety of services for users. User 312 interacts with client device 314, which may support browser application 316 and various other client applications 318. User 312 is distinct from client device 314, browser 316, or any other software that acts as interface between user and other devices and services. In some cases, the following description may make a distinction between the user acting explicitly within a client application and a client application that is acting on behalf of the user. In general, though, a requester is an intermediary, such as a client-based application, browser, SOAP client, or the like, that may be assumed to act on behalf of the user.

Browser application 316 may be a typical browser that comprises many modules, such as HTTP communication component 320 and markup language (ML) interpreter 322. Browser application 316 may also support plug-ins, such as web services client 324, and/or downloadable applets, which may or may not require a virtual machine runtime environment. Web services client 324 may use Simple Object Access Protocol (SOAP), which is a lightweight protocol for defining the exchange of structured and typed information in a decentralized, distributed environment. SOAP is an XML-based protocol that consists of three parts: an envelope that defines a framework for describing what is in a message and how to process it; a set of encoding rules for expressing instances of application-defined data types; and a convention for representing remote procedure calls and responses. User 312 may access web-based services using browser application 316, but user 312 may also access web services through other web service clients on client device 314. Some of the federated operations may employ HTTP redirection via the user's browser to exchange information between entities in a federated environment. However, the described techniques may be supported over a variety of communication protocols and is not meant to be limited to HTTP-based communications. For example, the entities in the federated environment may communicate directly when necessary; messages are not required to be redirected through the user's browser.

Components that are required for a federated environment can be integrated with pre-existing systems. FIG. 3 depicts one embodiment for implementing these components as a front-end to a pre-existing system. The pre-existing components at a federated domain can be considered as legacy applications or back-end processing components 330, which include authentication service runtime (ASR) servers 332 in a manner similar to that shown in FIG. 4. ASR servers 332 are responsible for authenticating users when the domain controls access to application servers 334, which can be considered to generate, retrieve, or otherwise support or process protected resources 335. The domain may continue to use legacy user registration application 336 to register users for access to application servers 334. Information that is needed to authenticate a registered user with respect to legacy operations is stored in enterprise user registry 338; enterprise user registry 338 may be accessible to federation components as well.

After joining a federated environment, the domain may continue to operate without the intervention of federated components. In other words, the domain may be configured so that users may continue to access particular application servers or other protected resources directly without going through a point-of-contact server or other component implementing this point-of-contact server functionality; a user that accesses a system in this manner would experience typical authentication flows and typical access. In doing so, however, a user that directly accesses the legacy system would not be able to establish a federated session that is known to the domain's point-of-contact server.

The domain's legacy functionality can be integrated into a federated environment through the use of federation front-end processing 340, which includes point-of-contact server 342 and trust proxy server 344 (or more simply, trust proxy 344 or trust service 344) which itself interacts with Security Token Service (STS) 346. Federation configuration application 348 allows an administrative user to configure the federation front-end components to allow them to interface with the legacy back-end components through federation interface unit 350. Federated functionality may be implemented in distinct system components or modules. Typically, most of the functionality for performing federation operations may be implemented by a collection of logical components within a single federation application; federated user lifecycle management application 352 includes trust service 344 along with single-sign-on protocol service (SPS) 354. Trust service 344 may comprise an identity-and-attribute service (IAS) 356, which is service that is responsible for operations involving identity mapping, attribute retrieval, and the like, as part of federation functionality. Identity-and-attribute service 356 may also be employed by single-sign-on protocol service 354 during single-sign-on operations. A federation user registry 358 may be employed in certain circumstances to maintain user-related information for federation-specific purposes.

The Cloud Computing Model

By way of additional background, cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models, all as more particularly described and defined in “Draft NIST Working Definition of Cloud Computing” by Peter Mell and Tim Grance, dated Oct. 7, 2009.

In particular, the following are typical characteristics:

On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.

Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

Resource pooling: the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).

Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.

Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.

The Service Models typically are as follows:

Software as a Service (SaaS): the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based e-mail). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.

Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.

Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).

The Deployment Models typically are as follows:

Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.

Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.

Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.

Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).

A cloud computing environment is service-oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure comprising a network of interconnected nodes. A representative cloud computing node is as illustrated in FIG. 2 above. In particular, in a cloud computing node there is a computer system/server, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like. Computer system/server may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.

Referring now to FIG. 4, by way of additional background, a set of functional abstraction layers provided by a cloud computing environment is shown. It should be understood in advance that the components, layers, and functions shown in FIG. 4 are intended to be illustrative only and embodiments of the invention are not limited thereto. As depicted, the following layers and corresponding functions are provided:

Hardware and software layer 400 includes hardware and software components. Examples of hardware components include mainframes, in one example IBM® zSeries® systems; RISC (Reduced Instruction Set Computer) architecture based servers, in one example IBM pSeries® systems; IBM xSeries® systems; IBM BladeCenter® systems; storage devices; networks and networking components. Examples of software components include network application server software, in one example IBM WebSphere® application server software; and database software, in one example IBM DB2® database software. (IBM, zSeries, pSeries, xSeries, BladeCenter, WebSphere, and DB2 are trademarks of International Business Machines Corporation registered in many jurisdictions worldwide)

Virtualization layer 402 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers; virtual storage; virtual networks, including virtual private networks; virtual applications and operating systems; and virtual clients.

In one example, management layer 404 may provide the functions described below. Resource provisioning provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal provides access to the cloud computing environment for consumers and system administrators. Service level management provides cloud computing resource allocation and management such that required service levels are met. Service Level Agreement (SLA) planning and fulfillment provides pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA.

Workloads layer 406 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation; software development and lifecycle management; virtual classroom education delivery; data analytics processing; transaction processing; and, according to the teachings of this disclosure, identity provider instance discovery.

It is understood in advance that although this disclosure includes a detailed description on cloud computing, implementation of the teachings recited herein are not limited to a cloud computing environment. Rather, embodiments of the present invention are capable of being implemented in conjunction with any other type of computing environment now known or later developed.

Thus, a representative cloud computing environment has a set of high level functional components that include a front end identity manager, a business support services (BSS) function component, an operational support services (OSS) function component, and the compute cloud component. The identity manager is responsible for interfacing with requesting clients to provide identity management, and this component may be implemented with one or more known systems, such as the Tivoli Federated Identity Manager (TFIM) that is available from IBM Corporation, of Armonk, N.Y. In appropriate circumstances TFIM may be used to provide F-SSO to other cloud components. The business support services component provides certain administrative functions, such as billing support. The operational support services component is used to provide provisioning and management of the other cloud components, such as virtual machine (VM) instances. The cloud component represents the main computational resources, which are typically a plurality of virtual machine instances that are used to execute the target application 410 that is being made available for access via the cloud. One or more databases are used to store directory, log, and other working data. All of these components (included the front end identity manager) are located “within” the cloud, but this is not a requirement. In an alternative embodiment, the identity manager may be operated externally to the cloud.

Identity Provider Instance Discovery

The subject matter herein is an identity provider (IdP) instance discovery service, sometimes referred to as “IdPIDS.” Preferably, and as well be described below, the IdPIDS is accessed automatically (e.g., via a Web services call) from a federated service provider (SP) after an end user accesses the service provider to obtain a service from an application. Generally, the IdPIDS operates to select (or “choose”) an identity provider instance from among a plurality of such instances. As used herein, an “instance” refers to a set of functions that are carried out by an identity provider, where such functions are replicated or mirrored in each other “instance.” Thus, each identity provider “instance” can be thought of as functionally-equivalent to another such instance, at least with respect to the handling of an end user client interaction. A particular identity provider instance thus may exist at a particular location, a particular time, or upon a given occurrence. In general, the IdPIDS operates to locate an “optimal” identity provider instance from among a plurality of such instances that may be used to receive an end user client binding, although the term “optimal” should not be taken to limit the disclosed subject matter. A particular “instance” may be “better” than another such instance but not necessarily the “best” with respect to some abstract or defined criteria. At a minimum, an IdPIDS operates to select a given IdP instance over another such instance based on a given “selection” criteria. As will be described in more detail below, the selection criteria may be quite varied, and it is typically one of: a network proximity between an computing entity (e.g., the end user client machine, or some other machine) and one or more of the identity provider instances, a geographic proximity between a computing entity and one or more of the identity provider instances, a load associated with one or more of the identity provider instances, availability of one or more identity provider instances, a capability associated with one or more identity provider instances (including, without limitation, whether the IdP instance supports the required F-SSO protocol/method), a performance metric associated with one or more identity provider instances, an existing binding associated with one or more identity provider instances, whether the SP has an established partner relationship with one or more specific instances, and the like.

Before describing the preferred technique, the following provides additional background on the basic problem of identity provider discovery generally. In FIG. 5, it is assumed that an end user 500 desires to obtain a service from a service provider 502 and has a number of distinct identity provider options, such as identity providers 504, 506, 508 and 510. In this example, the identity providers are unaffiliated with one another and represent commercial authentication services. Known discovery service implementations such as illustrated in FIG. 5 operate in a standalone manner, or by being embedded directly into a service provider. At a high level, the discovery model works as follows. The end user 500 accesses the service provider 502 (as used herein, “service provider” and the associated SP “application” may be used synonymously) and then manually chooses an identity provider. The service provider then redirects the end user to the chosen identity provider he or she desires to use, e.g., www.yahoo.com, IdP 504. The end user authenticates to the identity provider, which (following authentication) then redirects the end user (typically through an HTTP-based redirect) back to the SP 502. The IdP 504 also provides the SP 502 an identity assertion, such as a Security Assertion Markup Language (SAML) assertion, or a token, that provide evidence that the federated user has been authenticated. An end user session is then established between the federated user and the SP to complete the process.

The approach shown in FIG. 5 does not involve identity provider “instances,” as each identity provider 504, 506, 508 and 510 operates independently. Referring now to FIG. 6, a known single logical IdP discovery service is provided with multiple IdP instances. The discovery service is accessible by service provider 602. In this embodiment, all IdP instances 604, 606, 608 and 610 preferably share a common site (DNS) name, such as “idp.xyz.com,” and each instance is located in a particular location (Tokyo, Bangalore, London and New York). A global service load balancing (GSLB) mechanism 605 routes the end user 600 to a specific IdP instance. In one approach, the GSLB is DNS-based, although routing may be carried out at other layers of the conventional OSI model. Thus, in an alternative approach, BGP-based routing criteria may be used to determine which instance is selected. More sophisticated GSLB-based approaches may include advisor components that enable more fine-grained site-selection criteria.

FIG. 7 describes an intra-enterprise IdP discovery technique in an embodiment in which an enterprise has multiple IdP instances and supports multiple applications implemented as federated service providers. In this embodiment, as in FIG. 6, there are multiple identity provider instances 704, 706, 708 and 710 that, for purposes of illustration only, are located in distinct geographic locations, such as Tokyo, Bangalore, London and New York. Unlike FIG. 6, wherein a GSLB-based routing mechanism is used to select the IdP instance, here the identity provider discovery is carried out or implemented as a “service” itself. According to a preferred embodiment, the discovery method is provided by an identity provider instance discovery service or “IdPIDS.” In this scenario, an end user 700 makes a request to a service provider 702, and this request automatically (or programmatically) calls out to the IdPIDS service 705 that is then used to select an IdP instance from among the instances 704, 706, 708 and 710, each of which is identified by its unique sub-domain [city].idp.xyz.com. As also shown in FIG. 7, one or more other services providers, such as SP 712, also use the IdPIDS service 705. The IdPIDS service selects a given IdP instance based on one or more criteria including, without limitation, user proximity to each IdP (network or geographic), IdP load or availability, IdP capability, an existing IdP binding, or some combination thereof. Preferably, the service makes the selection without requiring direct end user involvement in the process of choosing a given instance (although the end user may be involved in selecting the identity provider service initially.

FIG. 8 illustrates the IdP instance discovery process in more detail. In this example, the end user 800 has established a connection to a service provider 802, preferably via SSL, TLS, or the like. At step (1), the client browser passes a request, such as htts://www.xyz.com/application/, to the service provider 802. At step (2), service provider 802 makes a Web services request for an IdP instance to the IdPIDS service 805. At step (3), the IdPIDS selects an IdP instance from among the instances 804, 806, 808 and 810. In this example, IdPIDS 805 has selected the London instance. Thus, at step (4), the IdPIDS 805 returns a response to the request that was passed in step (2). Typically, this response is a URL, which at step (5) is returned to the client browser by the SP as a redirect target. At step 6, the browser is redirected to the selected IdP instance, in this case the London instance 808, and authentication to the London IdP instance is requested. After the user is authenticated in a known manner, at step (7) the London-based IdP instance 808 issues a redirect to the end user browser, which redirect causes the client browser to return back to the service provider 802. This is step (8). The service provider 802 has a trust relationship with the selected IdP instance (as described above with respect to FIG. 3). The SP, however, may or may not have a trust relationship with each IdP instance; in appropriate circumstances, and as noted above, the existence of such a relationship (or its lack) may be among the selection criteria used. The user's authenticated identity is passed from the IdP instance 808 to the service provider 802 through this federated trust relationship 812, which may be implemented using a variety of known mechanisms including SAML, OpenID, or the like. This completes the processing.

Thus, according to this embodiment, when an end user (client) accesses the application (service provider), the service provider makes a request to the IdPIDS, passing it the client's IP address or other relevant information (e.g., an application identifier, a cookie indicating a previous IdP binding, or the like). As a service, the IdPIDS determines the appropriate IdP instance through one or more techniques (described below), and returns to response to the service provider. The service provider then redirects the client to the IdP, typically through an HTTP redirect. This redirection can invoke an IdP-initiated or SP-initiated F-SSO endpoint as appropriate, depending on the specific F-SSO protocol/binding used and any requirements of the local configuration. The IdP authenticates the client in the usual manner, and then redirects (once again, via an HTTP 302) the user back to the service provider. The user's authenticated identity (as generated by the selected IdP instance) is passed to the service provider via a federated trust relationship. In this manner, the selected F-SSO protocol/binding is used to pass the appropriate identity information to the SP, and ultimately the user is redirected to the service originally requested.

As described, the IdPIDS may implement a variety of means to determine an appropriate instance. For example, based upon the client IP address, the IdPIDS may make a selection based upon close (or optimal) network proximity to the IdP instance. Network proximity may be determined by latency, round-trip time (RTT), number of autonomous system (AS) hops, packet loss, or some combination thereof. In lieu of network proximity, the decision may be based on geographic proximity, in which case the “closest” data center may be selected. During this process, IP range mapping or IP to country/geographic mapping may be used. The selection criteria may be a given function of both network and geographic location. Or, the selection process may be based on how “busy” (loaded) a particular IdP instance may be or whether the IdP instance is available at the time of the particular request. To that end, preferably each IdP instance is in communication with the IdPIDS service, and a suitable request-response protocol is used to transfer status and load data from the IdP instance to the service. Generalizing, preferably the state of each IdP instance is known (or could be known) to all IdPIDS instances, which can be accomplished through a variety of means, such as using monitoring capabilities that directly alert or provide data to the IdPIDS instances indicating the “health” or availability of IdP instances, potentially including data regarding specific IdP components or dependent entities. Load data may include, without limitation, CPU load, storage load, or the like. When instance load is taken into consideration, the service may perform the instance selection as a function of which instance is least-loaded at the time of the request. The instance selection, in the alternative, may be based on a combination of network and/or geographic location, and load. Thus, for example, a particular IdP instance might be closer (network-wise) than another IdP instance but be more heavily loaded, in which case the IdP may select the less-loaded IdP instance that is further away (network-wise).

The selection criteria may be based on other factors. Thus, for example, one or more (or, more generally, a subset) of the identity provider instances may have a particular capability that is not shared by all instances. In such case, the IdPIDS directs the request to one of the instances that has the desired capability (or perhaps the closest or least-loaded instance if there are several that share the capability). In general, the selection may be based on some other performance metric associated with one or more identity provider instances. Or, the selection may exploit an existing binding associated with one or more identity provider instances. That binding may be captured in any known manner, such as in a cookie.

In addition to location, load, capability or availability, selection can be based on a round-robin mechanism.

The above description of the various techniques by which the identity provider instance discovery service performs instance selection are merely representative. One or more of these criteria may be used in combination with one another, the service may use these techniques under certain circumstances and not others (e.g., on certain days, at certain times, under different load conditions, etc.), the service may use one or the other techniques by default, or with certain service providers (but not others), for certain types of federated end users, and so forth. All such variants are deemed to be within the scope of the discovery mechanism and methods implemented herein.

The IdPIDS may be implemented as a cloud service, such as represented in FIG. 4.

For scaling and/or performance and availability, the IdPIDS itself may have multiple, clustered instances at multiple delivery sites. A “clustered” IdPIDS service embodiment is illustrated in FIG. 9. Generally, this clustered approach provides a highly scalable and highly available identity provider “back-end” discovery service for a plurality of federated applications. In a preferred (but non-limiting) embodiment, the back-end service is driven by application requests (as opposed to typical front-end services which interact directly with the user). The IdP instances are organized into “clusters,” with each cluster located at a given location and each instance within a cluster “co-located” with all the other instances in that cluster. According to this embodiment, each “cluster” itself runs its own IdPIDS service; thus, the IdPIDS itself is “replicated” or “mirrored” at each cluster location. In general, an IdPIDS service instance at a particular cluster performs “instance” selection among the co-located instances themselves, or the IdPIDS may direct the request to another IdPIDS service located at another site (i.e., to another cluster). Thus, a user may be directed to an identity provider at a different delivery site for one of multiple reasons: if the local IdPIDS is then unavailable or over-loaded, for other load balancing purposes, or if the local IdPIDS does not provide the specific capability required by the application. This clustered approach also is advantageous as it enables a local IdP instance (or a cluster of such instances) to be taken down for maintenance while retaining full F-SSO capability for federated applications that are using the backend service.

Referring now to FIG. 9, the following describes the interaction among the various entities in this embodiment. As described above, in this clustered scenario, each cluster runs its own IdP instance discovery service. Thus, there is an IdPIDS 902 in London, an IdPIDS 904 in Tokyo, and an IdPIDS 906 in New York. Preferably, each IdPIDS maintains the same globally shared synchronized state using, for example, a dynamic cluster membership (leave/join) protocol. Dynamic clustering protocols, which are known in the art, enable participants to share state data among themselves so that each participating cluster holds a shared “view” of the overall state of the computing resources in the particular cluster, and across the clusters. Preferably, each cluster member has visibility to the state of all resources at its particular site, while the clusters themselves have a global view of the state of the IdPIDS instances as a whole. In the alternative, instead of using a clustering protocol with dynamic state synchronization, a master database may be used to store the state data, which data can then be pushed out to each IdPIDS instance as read-only data. As illustrated in FIG. 9, and as described in more detail below, preferably each instance in a cluster is plugged into a local site monitoring infrastructure 914 via an event service 916. Where appropriate, local site events (as detected by the event service 916) results in changes to the globally shared IdPIDS cluster state.

FIG. 9 also illustrates a representative end user interaction. At step (1), the end user 900 makes a request to access the application (service provider 902) as previously described. At step (2), the application issues a Web service request to the IdPIDS to determine the target IdP host as previously described. In this embodiment, the service provider 902 is assumed to be associated directly with the London-based IdPIDS cluster 904. This association may be effected by binding the service provider to a particular IdDIDS instance, or by having its requests routed to the IdPIDS cluster via an enterprise service bus (ESB) or other appropriate means. The London IdPIDS service 904 determines IdP instance availability and returns a response identifying the most appropriate local IdP instance (e.g., an instance within the London cluster). In this embodiment, preferably each IdPIDS instance is capable of selecting any IdP instance at any site, although this is not a requirement, as a particular IdPIDS instance may redirect to another such instance to perform the IdP instance selection. At step (3), the user is redirected to the selected IdP 920. At step (4), the end user authenticates to the selected IdP 920, and at step (5) the service provider 902 passes to the IdP 920 (via the established trust relationship and using the means appropriate to the specific federation protocol or method required) the authenticated identity. The end user 900 logs into the application 902 are step (6) to establish the user session and complete the process.

Thus, according to this alternative embodiment, an IdPIDS is deployed at each of the several IdP delivery sites. The service monitors IdP component state events for the local IdP site. The IdPIDS instances (at a particular location) are clustered, using a dynamic state synchronization protocol. In other words, multiple “local” IdPIDS instances are locally-clustered, representing a single logical IdPIDS cluster node. In this configuration, IdP instance discovery may be moderated by IdP availability, performance, or other factors. As noted above, this approach also makes it possible to dynamically “down” an IdP site for maintenance or other reasons.

Thus, according to this embodiment, preferably each IdPIDS instance is aware of the state of all IdP instances. The above-described IdPIDS clustering facilitates state synchronization.

An IdP site may be downed for a reason independent of IdPIDS availability or topology/clustering. Preferably, each IdPIDS instance is aware of the state of all IdP instances. IdPIDS clustering as described herein facilitates state synchronization.

FIG. 10 represents a more detailed view of the components of the IdPIDS for each cluster shown in FIG. 9. The IdPIDS 1000 comprises a plurality of data stores (either in-memory or persistent storage), namely, a cluster state store 1002, a local IdP state store 1004, and a selection rules database 1006. The cluster state data store 1002 stores data about the state of the cluster as a whole. The local IdP state store 1004 stores data about the global state of all IdP resources. The selection rules in database 1006 store the selection criteria previously described. Local events are received by a local IdP state management routine 1008, which also receives data from the cluster state store 1002. The IdP state management routine 1008 updates the local IdP state 1004. A cluster subsystem 1010 interacts with similar mechanisms in other IdPIDS cluster members to facilitate the dynamic state synchronization. A selection logic routine 1012 uses the selection rules and the local IdP state data to determine the appropriate response 1016 to provide, via response mediator 1018, in response to a request 1014 that is received at the site.

FIG. 11 illustrates how an IdPIDS instance may perform an IdP selection taking geographic location into consideration. In this embodiment, the IdPIDS receives input identifying the client and SP (application). Thus, request 1100 includes the requesting client IP address and an application identifier. The IdPIDS then maps the client IP into a “region” via an appropriate means, which might include IP range mapping, IP-to-country mapping, or the like. In this context, “region” is generally a geographical entity, although it may represent any desired mapping. Thus, in this illustrated embodiment, at step 1102, a test is performed to determine whether the IP address is within a range of IP addresses being managed. If so, an IP range lookup is performed at step 1104 to identify a particular region (e.g., North America, South America, or the like). If the result of the test at step 1102 is negative, an IP-to-country lookup is performed at step 1106, which also returns the region data. In this embodiment, preferably one or more “IdP Group(s)” are associated with a region. Preferably, each region may have one to many (e.g., 3) groups (“clusters”) of IdP instances associated with it. Groups may be at one of many (e.g., 3) priority levels, such that IdP instance selection is “preferred” from the highest priority group associated with the region. Thus, at step 1108, an IdP Group lookup by region is performed, and this function returns a set of eligible IdP instance Group(s), preferably with one or more priority levels. At step 1109, an IdP Group selection is performed to select an IdP Instance Group. In particular, starting with the highest priority group, the set of candidate IdP instances is culled based on availability, F-SSO support for the specific application (SP), load limits, and the like, as has been described herein. At step 1110, an IdP Instance selection is performed to select a particular IdP instance. Preferably, the IdP instance is selected from the highest available priority group. If there is more than one instance in the group, the selection may be made using a variety of means including, without limitation, random selection, round-robin, least load, or the like. At step 1112, an IdP response is built and then returned. Preferably, the response it built using configuration data associated with the selected IdP instance. The IdP response 1114 includes the IdP redirect data, as has been described.

FIG. 12 illustrates an alternative embodiment of state synchronization among IdPIDS instances as compared to the clustering approach. In this embodiment, event monitor(s) update status information in a master database, which is then replicated out to local datastores associated with each idPIDS instance. This approach results in a fully-synchronized view of IdP instance/component state such that, for a given set of inputs, any IdPIDS instance can generate the same response. Referring now to the drawing, each site 1200 and 1202 includes a discovery service 1204, an identity provider 1206, a local database replica 1208, a set of probes 1210, and an event monitor 1212. As described, the event monitors 1212 provide (and continually update) status data, in this case to the master database 1214. The master database 1214 is replicated to create the site-specific local database replicas. A discovery service administration application 1216 is used to manage the master database 1214, which also is replicated 1218 for failover.

IdPIDS services do not necessarily have to be co-located with IdP instances. For example, in another embodiment, there may be a number of IdPIDS instances at a small number sites and IdP instances located at a broader set of sites that may or may not intersect with the IdPIDS deployment locations. In general, IdPIDS clustering is not a pre-requisite for IdP instance clustering.

As also described above, preferably there are a variety of methods for the SP (or a third party discovery service) to direct a request to an IdPIDS instance. One way is to bind the SP to a specific IdPIDS instance. Another way is to use a GSLB mechanism to implement a logical cluster of IdPIDS instances. Yet another way is to leverage request routing mechanism, which may be available via an enterprise service bus (ESB).

Although in the typical scenario the IdPIDS selects instances out of a set associated with a single logical identity provider, the IdP instances associated with the IdPIDS do not necessarily have to be all related to the same IdP. Because IdP instance selection can include application (SP) identity as a criterion, one could effectively select not only a specific IdP instance, but also the IdP itself, using the mechanisms described above. For example, a particular configuration may include IdP instances associated with first and second distinct service providers yet, for a particular application, an IdP instance associated with the first service provider is always returned.

If desired, a particular IdPIDS may be associated or mapped to a single federation.

As indicated in FIG. 10, attributes that may be passed to the IdPIDS service include, without limitation, an application identifier, a client IP address, WAYF data, or the like.

The response to a particular request that is returned by an IdPIDS may include a federation-specific URL.

A particular IdP instance may be virtualized using a global service load balancing (GSLB) mechanism.

The functionality described above may be implemented as a standalone approach, e.g., a software-based function executed by a processor, or it may be available as a managed service (including as a web service via a SOAP/XML interface). The particular hardware and software implementation details described herein are merely for illustrative purposes are not meant to limit the scope of the described subject matter.

More generally, computing devices within the context of the disclosed invention are each a data processing system (such as shown in FIG. 2) comprising hardware and software, and these entities communicate with one another over a network, such as the Internet, an intranet, an extranet, a private network, or any other communications medium or link. The applications on the data processing system provide native support for Web and other known services and protocols including, without limitation, support for HTTP, FTP, SMTP, SOAP, XML, WSDL, SAML, Liberty, Shibboleth, OpenID, WS-Federation, Cardspace, WS-Trust, UDDI, and WSFL, among others. Information regarding SOAP, WSDL, UDDI and WSFL is available from the World Wide Web Consortium (W3C), which is responsible for developing and maintaining these standards; further information regarding HTTP, FTP, SMTP and XML is available from Internet Engineering Task Force (IETF). Familiarity with these known standards and protocols is presumed.

The scheme described herein may be implemented in or in conjunction with various server-side architectures other than cloud-based infrastructures. These include, without limitation, simple n-tier architectures, web portals, federated systems, and the like.

As the above examples illustrate, one or more of the identity provider instance discovery functions may be hosted within or external to the cloud.

Still more generally, the subject matter described herein can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In a preferred embodiment, the layered logout function is implemented in software, which includes but is not limited to firmware, resident software, microcode, and the like. The data can be configured into a data structure (e.g., an array, a linked list, etc.) and stored in a data store, such as computer memory. Furthermore, as noted above, the identity provider instance discovery functionality described herein can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any apparatus that can contain or store the program for use by or in connection with the instruction execution system, apparatus, or device. The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or a semiconductor system (or apparatus or device). Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD. The computer-readable medium is a tangible item.

The computer program product may be a product having program instructions (or program code) to implement one or more of the described functions. Those instructions or code may be stored in a computer readable storage medium in a data processing system after being downloaded over a network from a remote data processing system. Or, those instructions or code may be stored in a computer readable storage medium in a server data processing system and adapted to be downloaded over a network to a remote data processing system for use in a computer readable storage medium within the remote system.

In a representative embodiment, the identity provider instance discovery components are implemented in a special purpose computer, preferably in software executed by one or more processors. The associated configuration (security levels, status, timers) is stored in an associated data store. The software also is maintained in one or more data stores or memories associated with the one or more processors, and the software may be implemented as one or more computer programs.

The identity provider instance discovery function may be implemented as an adjunct or extension to an existing access manager or policy management solution.

While the above describes a particular order of operations performed by certain embodiments of the invention, it should be understood that such order is exemplary, as alternative embodiments may perform the operations in a different order, combine certain operations, overlap certain operations, or the like. References in the specification to a given embodiment indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic.

Finally, while given components of the system have been described separately, one of ordinary skill will appreciate that some of the functions may be combined or shared in given instructions, program sequences, code portions, and the like.

As used herein, the “client-side” application should be broadly construed to refer to an application, a page associated with that application, or some other resource or function invoked by a client-side request to the application. A “browser” as used herein is not intended to refer to any specific browser (e.g., Internet Explorer, Safari, FireFox, or the like), but should be broadly construed to refer to any client-side rendering engine that can access and display Internet-accessible resources. A “rich” client typically refers to a non-HTTP based client-side application, such as an SSH or CFIS client. Further, while typically the client-server interactions occur using HTTP, this is not a limitation either. The client server interaction may be formatted to conform to the Simple Object Access Protocol (SOAP) and travel over HTTP (over the public Internet), FTP, or any other reliable transport mechanism (such as IBM® MQSeries® technologies and CORBA, for transport over an enterprise intranet) may be used. Any application or functionality described herein may be implemented as native code, by providing hooks into another application, by facilitating use of the mechanism as a plug-in, by linking to the mechanism, and the like.

As noted above, the identity provider discovery may be initiated by any component, such as a component either directly on the SP, or on some discovery service to which the SP redirects the user, which component then invokes the service as described to perform IdP instance discovery. FIG. 13 illustrates IdP instance discovery with an external IdP discovery service. In particular, rather than the SP calling the IdPIDS, IdP and IdP instance selection is deferred to an external discovery service component 1300. In this embodiment, the user makes the request to the service provider 1302, which then redirects the user to the IdP discovery service 1300. The discovery service 1300 interacts with the user as required to select an appropriate IdP, and if instance selection is required, a request is sent to the IdPIDS 1304 to select an appropriate instance for the chosen IdP in the manner previously described. The particular steps in this workflow are shown in FIG. 13, and they are similar to the steps previously described. Use of a discovery service external to the SP is accommodated in certain F-SSO standards, such as SAML 2.0.

As used herein, an “identity provider instance” is an instantiation or implementation of an identity provider that is also available in one or more other such instances. Thus, in general, typically an “instance” is a fully-featured identity provider (IdP) whose functionality is mirrored or duplicated in at least one other such instance. 

1. A method of discovering an identity provider instance, the identity provider instance being one of a plurality of identity provider instances that comprise a logical IdP service, comprising: receiving a request for an identity provider instance, the request being associated with a service provider; in response to receiving the request, selecting a particular one of the plurality of identity provider instances according to a selection criteria; and returning a response to the request identifying the selected identity provider instance.
 2. The method as described in claim 1 wherein the selection criteria is a capability associated with one or more identity provider instances.
 3. The method as described in claim 1 wherein the selection criteria is one of: a network proximity between an computing entity and one or more of the identity provider instances, a geographic proximity between a computing entity and one or more of the identity provider instances, a load associated with one or more of the identity provider instances, availability of one or more identity provider instances, a performance metric associated with one or more identity provider instances, and an existing binding associated with one or more identity provider instances.
 4. The method as described in claim 1 wherein the request for an identity provider instance is a Web service request that is generated by the service provider.
 5. The method as described in claim 1 wherein the request for an identity provider instance is received following selection of an identity provider associated with the plurality of identity provider instances.
 6. The method as described in claim 1 wherein the plurality of identity provider instances include at least one cluster of identity provider instances that are co-located with one another.
 7. The method as described in claim 1 wherein the plurality of identity provider instances includes at least first and second clusters of identity provider instances, the first cluster being located remote from the second cluster.
 8. The method as described in claim 1 further including maintaining at least first and second identity provider instances in a synchronized state.
 9. The method as described in claim 1 wherein the logical IdP service is a logical enterprise IdP service.
 10. Apparatus for discovering an identity provider instance, the identity provider instance being one of a plurality of identity provider instances that comprise a logical IdP service, comprising: a processor; computer memory holding computer program instructions that when executed by the processor perform a method comprising: receiving a request for an identity provider instance, the request being associated with a service provider; in response to receiving the request, selecting a particular one of the plurality of identity provider instances according to a selection criteria; and returning a response to the request identifying the selected identity provider instance.
 11. The apparatus as described in claim 10 wherein the selection criteria is a capability associated with one or more identity provider instances.
 12. The apparatus as described in claim 10 wherein the selection criteria is one of: a network proximity between an computing entity and one or more of the identity provider instances, a geographic proximity between a computing entity and one or more of the identity provider instances, a load associated with one or more of the identity provider instances, availability of one or more identity provider instances, a performance metric associated with one or more identity provider instances, and an existing binding associated with one or more identity provider instances.
 13. The apparatus as described in claim 10 wherein the request for an identity provider instance is a Web service request that is generated by the service provider.
 14. The apparatus as described in claim 10 wherein the request for an identity provider instance is received following selection of an identity provider associated with the plurality of identity provider instances.
 15. The apparatus as described in claim 10 wherein the plurality of identity provider instances include at least one cluster of identity provider instances that are co-located with one another.
 16. The apparatus as described in claim 10 wherein the plurality of identity provider instances includes at least first and second clusters of identity provider instances, the first cluster being located remote from the second cluster.
 17. The apparatus as described in claim 10 wherein the method further includes maintaining at least first and second identity provider instances in a synchronized state.
 18. The apparatus as described in claim 10 wherein the logical IdP service is a logical enterprise IdP service.
 19. A computer program product in a computer readable medium for use in a data processing system for discovering an identity provider instance, the identity provider instance being one of a plurality of identity provider instances that comprise a logical IdP service, the computer program product holding computer program instructions which, when executed by the data processing system, perform a method comprising: receiving a request for an identity provider instance, the request being associated with a service provider; in response to receiving the request, selecting a particular one of the plurality of identity provider instances according to a selection criteria; and returning a response to the request identifying the selected identity provider instance.
 20. The computer program product as described in claim 19 wherein the selection criteria is a capability associated with one or more identity provider instances.
 21. The computer program product as described in claim 19 wherein the selection criteria is one of: a network proximity between an computing entity and one or more of the identity provider instances, a geographic proximity between a computing entity and one or more of the identity provider instances, a load associated with one or more of the identity provider instances, availability of one or more identity provider instances, a performance metric associated with one or more identity provider instances, and an existing binding associated with one or more identity provider instances.
 22. The computer program product as described in claim 19 wherein the request for an identity provider instance is a Web service request that is generated by the service provider.
 23. The computer program product as described in claim 19 wherein the request for an identity provider instance is received following selection of an identity provider associated with the plurality of identity provider instances.
 24. The computer program product as described in claim 19 wherein the plurality of identity provider instances include at least one cluster of identity provider instances that are co-located with one another.
 25. The computer program product as described in claim 19 wherein the plurality of identity provider instances includes at least first and second clusters of identity provider instances, the first cluster being located remote from the second cluster.
 26. The computer program product as described in claim 19 wherein the method further includes maintaining at least first and second identity provider instances in a synchronized state.
 27. The computer program product as described in claim 19 wherein the logical IdP service is a logical enterprise IdP service.
 28. A method to automatically select an identity provider (IdP) instance from among a set of identity provider instances comprising an enterprise IdP service, comprising: clustering a plurality of identity provider instances at distributed locations to provide IdP discovery for a plurality of federated applications, each cluster comprising a plurality of identity provider instances; responsive to receipt at a cluster of a request for an identity provider instance, determining whether the request should be processed at the cluster; if it is determined that the request should be processed at the cluster, determining an appropriate cluster instance and returning a response to the request; and if it is determined that the request should not be processed at the cluster, redirecting the request to another cluster for servicing.
 29. The method as described in claim 28 further including maintaining a synchronized state across the distributed locations.
 30. The method as described in claim 28 wherein a determination that the request should not be processed at the cluster is made if an identity provider instance is unavailable, if an identity provider instance does not provide a given capability, or for load balancing purposes. 